package com.heima.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.wmmedia.pojos.WmMaterial;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WmMaterialMapper extends BaseMapper<WmMaterial> {
    //查询素材库是否有当前用户id存储的对应路径的素材
    List<Integer> selectRelationsIds(@Param("contentImageUrls") List<String> contentImageUrls, @Param("id") Integer id);
}
